return {
    main:renders({
        <%if nav??%>
        <div class="m-crumbs">
            <%var navLastIndex = nav.length-1%>
            <%each nav%>
                <%if $index < navLastIndex%>
                <span><%$value%></span>
                <i class="iconfont e-ml5 e-mr5">&#xe650;</i>
                <%else%>
                <em class="f-cblue"><%$value%></em>
                <%/if%>
            <%/each%>
        </div>
        <%/if%>
        <div class="l-body e-pt10">
            <%include 'body'%>
        </div>
    }),
    body:renders({
        <%include 'head'%>
        <div class="m-main-body"></div>
    }),
    head:renders({
        <div class="m-main-header">
            <%include 'title'%>
            <%include 'tools'%>
        </div>
    }),
    title:renders({
        <h3 class="title f-fs20 f-tac"><%title??%></h3>
    }),
    tools:renders({
        <div class="tools f-clearfix e-mt20">
            <div class="left f-fl">
                <%include 'left'%>
            </div>
            <div class="right f-fr">
            <%include 'right'%>
            </div>
        </div>
    }),
    left:renders({
        <%include 'date'%>
    }),
    right:renders({
        <%include 'print'%>
        <%include 'exports'%>
    }),
    date:renders({
        <span class="ui-input-dropdown e-mr20 f-fl">
            <input type="text" class="ui-input ui-input-<%if istwo?? && istwo%>long<%else%>short<%/if%> ui-input-large j-date" readonly 
            <%if istwo?? && istwo%>
            value="<%date??%> - <%date??%>"
            <%else%>
            value="<%date??%>"
            <%/if%>
            name="date">
            <i class="iconfont f-cgray">&#xe636;</i>
        </span>
    }),
    subject:renders({
        <%if isMore??%>
        <div class="ui-item e-mt20">
            <label class="ui-label f-lh35 e-mr8">会计科目</label>
            <span class="ui-input-dropdown">
                <input type="text" class="ui-input ui-input-normal ui-input-large" autocomplete="off">
                <i class="iconfont f-cgray">&#xe636;</i>
            </span>
        </div>
        <%else%>
        <span class="f-fl subject e-mr15">
            <b class="f-fl f-lh35 e-mr8">科目</b>
            <button class="ui-button ui-button-gray e-mr-1 j-prev"><i class="iconfont">&#xe613;</i></button>
            <input type="text" class="ui-input ui-input-large ui-input-large subject dropdown" value="<%if subject?? && subject.buname??%><%subject.buname%><%/if%>" autocomplete="off">
            <input type="hidden" name="subjectid" value="<%if subject?? && subject.id??%><%subject.id%><%/if%>">
            <button class="ui-button ui-button-gray e-ml-1 j-next"><i class="iconfont">&#xe610;</i></button>
        </span>
        <%/if%>
    }),
    project:renders({
        <div class="ui-item e-mt20">
            <label class="ui-label f-lh35 e-mr8">核算项目</label>
            <span class="ui-input-dropdown">
                <input type="text" class="ui-input ui-input-normal ui-input-large" autocomplete="off">
                <i class="iconfont f-cgray">&#xe636;</i>
            </span>
        </div>
    }),
    aux:renders({
        <div class="ui-item e-mt20">
            <label class="ui-label f-lh35 e-mr8">辅助核算</label>
            <span class="ui-input-dropdown">
                <input type="text" class="ui-input ui-input-normal ui-input-large" autocomplete="off">
                <i class="iconfont f-cgray">&#xe636;</i>
            </span>
        </div>
    }),
    custom:renders({
        <span class="f-fl custom e-mr15">
            <b class="f-fl f-lh35 e-mr8">客户</b>
            <button class="ui-button ui-button-gray e-mr-1 j-prev"><i class="iconfont">&#xe613;</i></button>
            <input type="text" class="ui-input ui-input-large custom dropdown" autocomplete="off">
            <input type="hidden" name="customid">
            <button class="ui-button ui-button-gray e-ml-1 j-next"><i class="iconfont">&#xe610;</i></button>
        </span>
    }),
    mode:renders({
        <%var html = ''%>
        <%if isAccount??%>
        <%var html = html + '<option value="1">数量金额式</option>'%>
        <%/if%>
        <%if isCurray??%>
        <%var html = html + '<option value="2">外币金额式</option>'%>
        <%/if%>
        <%if isAccount?? && isCurray??%>
        <%var html = html + '<option value="3">数量外币式</option>'%>
        <%/if%>
        <%if html%>
        <select name="mode" data-css="width:110px;" class="f-dn">
            <option value="0">金额式</option>
            <%html%>
        </select>
        <%/if%>
    }),
    exports:renders({
        <a class="f-cblue e-ml20 f-dib e-mt5 j-exports" title="导出" authority="004">
            <i class="iconfont f-fs24">&#xe654;</i>
        </a>
    }),
    print:renders({
        <a class="f-cblue e-ml20 f-dib e-mt5 j-print" title="打印">
            <i class="iconfont f-fs24">&#xe652;</i>
        </a>
    }),
    more:renders({
        <div class="ui-input-dropdown f-fl j-more">
            <b class="ui-input ui-input-short ui-input-large" style="width:60px;">筛选条件</b>
            <i class="iconfont f-cgray">&#xe636;</i>
        </div>
    }),
    moreDetail:renders({
        <div class="ui-form e-pb15">
            <%var isMore = true%>
            <%include 'detail'%>
        </div>
    }),
    menu:renders({
        <div class="m-tabmenu">
            <%if menus??%>
            <%each menus%>
            <a<%if $index === 0%> class="s-crt"<%/if%><%each $value v k%> <%k%>="<%v%>"<%/each%>><%$value.name%></a>
            <%/each%>
            <%/if%>
        </div>
    })
}